﻿using FactoryMethod.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FactoryMethod.FactoryMethod
{
    /// <summary>
    /// 抽象工厂接口
    /// 所有工厂类都需要实现这个接口
    /// 通过接口进行约束
    /// </summary>
    public interface IFactory
    {
        IRace CreateInstance();
    }
}
